home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 10d.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.5 KB  |  57 lines

  1. on startMovie
  2.   global qtChan, gCursorReady, gKnobSprite
  3.   qtChan = 11
  4.   sprite(qtChan).volume = 256
  5.   preLoad(qtChan - 1)
  6.   set the mouseDownScript to EMPTY
  7.   set the mouseUpScript to EMPTY
  8.   gKnobSprite = 39
  9.   setUpKnob()
  10. end
  11.  
  12. on idle
  13.   global gCursorReady
  14.   if gCursorReady = 1 then
  15.     cursor(200)
  16.     checkCursors()
  17.     set the locH of sprite 46 to the mouseH
  18.     set the locV of sprite 46 to the mouseV
  19.     updateStage()
  20.   end if
  21. end
  22.  
  23. on checkCursors
  24.   global gMagCursor
  25.   set the castNum of sprite 46 to the number of member "curs1"
  26.   repeat with i = 6 to 10
  27.     if rollOver(i) then
  28.       set the castNum of sprite 46 to the number of member "hotCursor"
  29.     end if
  30.   end repeat
  31.   if the castNum of sprite 12 and rollOver(12) then
  32.     set the castNum of sprite 46 to the number of member gMagCursor
  33.   end if
  34.   if the castNum of sprite 14 and rollOver(14) then
  35.     set the castNum of sprite 46 to the number of member "deMagCursor"
  36.   end if
  37.   repeat with i = 19 to 20
  38.     if rollOver(i) then
  39.       set the castNum of sprite 46 to the number of member "hotCursor"
  40.     end if
  41.   end repeat
  42.   if rollOver(38) then
  43.     set the castNum of sprite 46 to the number of member "linkCurs"
  44.   end if
  45.   if rollOver(28) then
  46.     set the castNum of sprite 46 to the number of member "linkCurs"
  47.   end if
  48.   if rollOver(38) then
  49.     set the castNum of sprite 46 to the number of member "hotCursor"
  50.   end if
  51.   repeat with i = 40 to 43
  52.     if rollOver(i) then
  53.       set the castNum of sprite 46 to the number of member "hotCursor"
  54.     end if
  55.   end repeat
  56. end
  57.